#import <UIKit/UIKit.h>
#import "CTNavBar.h"
NS_ASSUME_NONNULL_BEGIN
@interface CTBaseVC : UIViewController
@property (nonatomic ,strong) CTNavbar *var_navBar;
@property BOOL var_leftGestureEnable;
@property (nonatomic,assign) BOOL var_hiddenNavigationBar;
@property (nonatomic,assign) BOOL var_prohibitReturn;
#pragma mark - custom Nav
- (void)ct_showCustomerNavBarWithType:(WBNavBarType)type;
- (void)ct_setCustomerNavAlpha:(CGFloat)alpha;
- (void)ct_setCustomerNavSearchBarPlaceHolder:(NSString *)placeHolder;
#pragma mark - system Nav
- (void)ct_setNavTitle:(NSString *)title;
- (void)ct_updateNavTitle:(NSString *)title;
- (void)ct_setNavRightButtonwithImg:(NSString *)normalImg selImg:(NSString *)selImg title:(NSString *)title action:(SEL)action;
- (void)ct_setNavLeftButtonwithImg:(NSString *)normalImg selImg:(NSString *)selImg title:(NSString *)title action:(SEL)action;
- (void)ct_setNavRightButtonEnable:(BOOL)enable;
- (void)ct_setNavLeftButtonEnable:(BOOL)enable;
- (void)ct_setNavBackArrow;
- (void)ct_setNavNextArrow;
- (void)ct_setSearchButton;
- (void)ct_setNavCancelText;
- (void)ct_navBackToHomeButtonClicked:(UIButton *)sender;
- (void)ct_navBackButtonClicked:(UIButton *)sender;
- (void)ct_setNavTransluent:(BOOL)transluent;
- (void)ct_restoreNavNoTransluent;
+ (UIView *)ct_addExceptionHandlingView:(UIView *)view frame:(CGRect)frame;
- (UIImageView *)ct_findHairlineImageViewUnder:(UIView *)view;
- (void)ct_searchButtonClick;
- (void)ct_customerNavRightButtonClick;
#pragma mark - HUD
- (void)ct_beginLoading;
- (void)ct_endLoading;
#pragma mark - action block
- (void)ct_configRetryAction:(void (^)(void))block;
- (void)ct_configBackAction:(void (^)(void))block;
+ (UIViewController *)ct_instanceSelfWithParam:(NSDictionary *)param;
@end
NS_ASSUME_NONNULL_END
